package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.Exam;
import com.tanhua.domain.mongo.Level;
import com.tanhua.domain.mongo.Options;
import com.tanhua.domain.mongo.Questions;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: Alfred
 * @Date: 2021/04/20/17:46
 * @Description:
 */
public interface SoulApi {
    /**
    * @Description: 获取所有问卷的集合
    * @Param: []
    * @return: java.util.List<com.tanhua.domain.mongo.Exam>
    * @Author: Alfred
    * @Date: 2021/4/20
    */
    List<Exam> getList();

    /**
    * @Description: 根据问卷id获取对应试题的集合
    * @Param: [examId]
    * @return: java.util.List<com.tanhua.domain.mongo.Questions>
    * @Author: Alfred
    * @Date: 2021/4/20
    */
    List<Questions> getQuestionList(String examId);

    /**
    * @Description: 根据登录用户id获取对应的测灵魂题目等级
    * @Param: [userLoginId]
    * @return: com.tanhua.domain.mongo.Level
    * @Author: Alfred
    * @Date: 2021/4/20
    */
    Level getUserLevel(Long userLoginId);

    /**
    * @Description: 根据examId获取报告id
    * @Param: [examId]
    * @return: java.lang.String
    * @Author: Alfred
    * @Date: 2021/4/20
    */
    String getReportId(String examId);

    /**
    * @Description: 根据题目id获取选项集合
    * @Param: []
    * @return: java.util.List<com.tanhua.domain.mongo.Options>
    * @Author: Alfred
    * @Date: 2021/4/20
     * @param question_id
    */
    List<Options> getOptionList(String question_id);
}
